home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / b026pot.dir / 00067.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  717 b   |  27 lines

  1. on mouseDown
  2.   global gQuestion, gCurrentNumber
  3.   if gQuestion then
  4.     puppetSprite(18, 1)
  5.     puppetSound("MouseDown.aif")
  6.     repeat while the mouseDown
  7.       if rollOver(17) then
  8.         set the castNum of sprite 18 to cast "b057n"
  9.       else
  10.         set the castNum of sprite 18 to cast "b058n"
  11.       end if
  12.       updateStage()
  13.     end repeat
  14.     if rollOver(17) then
  15.       set the castNum of sprite 18 to cast "b057n"
  16.       set myText to "pot.a" & gCurrentNumber
  17.       set the castNum of sprite 11 to cast myText
  18.       set the foreColor of sprite 11 to 136
  19.       updateStage()
  20.       set gQuestion to 0
  21.     else
  22.       set the castNum of sprite 18 to cast "b058n"
  23.       set gQuestion to 1
  24.     end if
  25.   end if
  26. end
  27.